<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>栏目显示页面</title>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <css file="__PUBLIC__/css/base.css"/>
	<jsconst />
</head>
<body style="padding:10px;">
    <div class="now_path">
        <strong>您现在的位置：</strong>景区管理
	</div>
	 <div class="send1">
        <a href="__CONTROL__/add_show" target="con" class="current button1">添加景区</a>
    </div>
	<form action='__CONTROL__/piliang' method='post'>
    <table class="table1">
        <thead>
            <tr>
                <td width="20">景区ID</td>
                <td width='160'>景区名称</td>
				<td width='50'>所在城市</td>
				<td width='60'>状态</td>
                <td width="200">操作</td>
            </tr>
        </thead>
        <tbody>
        	<foreach from='$jingqus' value='$v'>
				<tr>	
		            <td width="20">{$v.jid}</td>
		    		<td width="160">
		    			<input type='hidden' name='{$v.jid}[jid]' value='{$v.jid}' />
		    			<input type='text' name='{$v.jid}[jname]' value='{$v.jname}' class='changename'/> </td>
					<td width='50'>{$v.cname}</td>
					<td width='60'>
						<if value='$v.status eq 1'>
							启用 <a href='__CONTROL__/status/jid/{$v.jid}/set/0' id='status'>禁止</a>
						<else />
							禁止<a href="__CONTROL__/status/jid/{$v.jid}/set/1" id='status'>启用</a>
						</if>
					</td>
		    		<td width="200" style="font-size:12px;">
			        	<a href="__CONTROL__/modify_show/jid/{$v.jid}">修改</a> | 
			        	<a href="__CONTROL__/del/jid/{$v.jid}">删除</a>
		    		</td>
				</tr>
			</foreach>
		</tbody>  
	</table>
	<input type='submit' value='批量修改' class='button4'/>
</body>
</html>
